package br.com.beiramar.entity.pessoa.sexo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;




@Entity
@Table(name = "Sexo", schema = "ev")
@NamedQueries({ @NamedQuery(name = "sexo.Dados", query = "Select Object(result) from SexoPessoa result") })

public class SexoPessoa implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "idSexo", unique = true, nullable = false)
	private int idSexo;
	
	@Column(name = "nomeSexo")
	private String nomeSexo;

	public int getIdSexo() {
		return idSexo;
	}

	public void setIdSexo(int idSexo) {
		this.idSexo = idSexo;
	}

	public String getNomeSexo() {
		return nomeSexo;
	}

	public void setNomeSexo(String nomeSexo) {
		this.nomeSexo = nomeSexo;
	}
}
